-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flake-parts: add nix run
interface along with devenv container
subcommand and improvements
#503
Conversation
72b9c52
to
32dccd5
Compare
nix run
nix run
, add more CLI options
0ffe78b
to
aa6ab74
Compare
nix run
, add more CLI optionsnix run
interface along with devenv container
subcommand and improvements
0e7da9e
to
14250a5
Compare
I've successfully built and used the devenv container setup using this branch, so it's ready for review. |
Not to maintain the cacertificate list here, can we just use |
Seems like CI is pointing to a regression? |
fixed the failing test (I renamed the output, but didn't touch the tests) |
looks like docopts doesn't build for Mac? |
adc0208
to
8fa0db9
Compare
df85b90
to
8a0568c
Compare
8a0568c
to
57e35c9
Compare
@domenkozar how do you handle from https://github.com/cachix/devenv/actions/runs/5197759077/jobs/9399642874?pr=503#step:6:921 error: Package ‘docopts-0.6.4-with-no-mangle-double-dash’ in /nix/store/lm6klhgwfz7inymhgf8siwpypjrvdla7-source/pkgs/development/tools/misc/docopts/default.nix:26 is not supported on ‘x86_64-darwin’, refusing to evaluate. |
|
||
if ! use flake . --impure | ||
then | ||
echo "devenv could not be build. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "devenv could not be build. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2 | |
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2 |
would be really great if someone can rebase this on top of #745 |
I've ported a few things from this PR to #1005, but it would be great to get the rest of the changes in. |
Hello, sorry for lack of updates, but I am currently trying to spread Nix at workplace by using https://github.com/divnix/std + Hive (best intro at https://primamateria.github.io/blog/hive/) and those integrate with https://github.com/numtide/devshell instead. Between this work situation and very different ongoing personal project I doubt I will have time to get back into devenv in foreseeable future. |
Hey, fair enough I'll close this then :) |
The state of implementation of
flake-parts
from #360 wasn't really usable in practice:This PR makes following additions:
-spec
,devenv container [options] [container-name]
family of commands for flakes--podman-run
.envrc
TODO: